package com.wnxy.pawnbackgroundsystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wnxy.pawnbackgroundsystem.dto.GetStoreNameDto;
import com.wnxy.pawnbackgroundsystem.dto.InsertStoreDto;
import com.wnxy.pawnbackgroundsystem.dto.StoreDto;
import com.wnxy.pawnbackgroundsystem.entity.Store;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.pawnbackgroundsystem.param.GetStoreParam;
import com.wnxy.pawnbackgroundsystem.param.InsertStoreParam;
import com.wnxy.pawnbackgroundsystem.param.UpdateStoreParam;
import com.wnxy.pawnbackgroundsystem.response.Result;

import java.util.List;

/**
 * <p>
 * 门店管理表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2021-10-14
 */
public interface IStoreService extends IService<Store> {

    void insertStore(InsertStoreParam isp);

    void delStore(Integer storeId);

    List<Store> getStore();

   IPage<StoreDto> storeDto(GetStoreParam getStoreParam);

    void updeteStore(UpdateStoreParam updateStoreParam);

    List<GetStoreNameDto> getAllHouse();

    List<String> getWareHouseName(Integer storeId);
}
